import { axios } from "@/services/axios";

const GlobalSetting = {
  get: data => axios.get(`api/globalsetting/${data.id}`),
  getlist: params => axios.post(`api/globalsetting/list`, params),
  create: data => axios.post("api/globalsetting", data),
  save: data => axios.post(`api/globalsetting/${data.id}`, data),
  delete: data => axios.delete(`api/globalsetting/${data.id}`),
};

export default GlobalSetting;


